body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}


.show{
  opacity: 1;
  transition: all 1.5s;
}
.hidden{
  opacity: 0;
  /*transition: all 1.5s;*/
  animation: hide-item 2s ease-in forwards;  /* forwards 动画完了停留到最后一帧 */
}


@keyframes hide-item {
  0%{
    opacity: 1;
    color: #61dafb;
  }

  50%{
    opacity: 0.5;
    color: rebeccapurple;
  }

  100%{
    opacity: 0;
    color: red;
  }
}


.box-text-enter{
  opacity: 0;
}
.box-text-enter-active{
  opacity: 1;
  transition: opacity 2000ms;
}
.box-text-enter-done{
  opacity: 1;
}
.box-text-exit{
  opacity: 1;
}
.box-text-exit-active{
  opacity: 0;
  transition: opacity 2000ms;
}
.box-text-exit-done{
  opacity: 0;
}

